package com.qzsoft.system.modules.permission.rolebusiness.service;


import com.qzsoft.system.modules.permission.rolebusiness.dto.SysUserRoleBusinessVo;

import java.util.List;

/**
 * 角色管理(SysUserRoleBusiness)表服务接口
 *
 * @author sww
 * @since 2020-09-25 13:54:06
 */
public interface SysUserRoleBusinessService {
    /**
     * 根据用户id查询该用户的user_role_business
     *
     * @return
     */
    List<SysUserRoleBusinessVo> queryUserRoleBusinessListByUserId(Long id);


    void saveOrUpdate(Long id, List<SysUserRoleBusinessVo> roleBusinessList);

    void updateHasDelete(Long[] ids);
}